package com.zfx.service;

import com.zfx.pojo.Admin;
import org.apache.catalina.User;

import java.util.List;

/**
 * @description: 运营账号服务层接口
 * @author: zfx
 */
public interface IAdminService {

    public List<Admin> findAll(int page, int size);

    public List<Admin> findByAdmin(Admin admin, int page, int size);

    public Admin findById(Integer id);

    public int save(Admin admin);

    public int update(Admin admin);

    public int deleteById(Integer id);

    public int countAll(Admin admin);

    public Admin login(Admin admin);

}
